package com.erhuogo.action;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.erhuogo.entity.Image;
import com.erhuogo.service.ImageService;
import com.opensymphony.xwork2.ActionSupport;

/**
 * 图片Action
 * @author aibinxiao
 * @date 2016年10月26日 上午11:32:16
 */
public class ImageAction extends ActionSupport {
	private static final long serialVersionUID = -4314044110481244207L;
	private static Logger logger = LoggerFactory.getLogger(ImageAction.class);
	
	// 模型驱动使用的对象
	private Image image;

	public Image getImage() {
		return image;
	}

	public void setImage(Image image) {
		this.image = image;
	}
	
	// 注入ImageService
	private ImageService imageService;

	public ImageService getImageService() {
		return imageService;
	}

	public void setImageService(ImageService imageService) {
		this.imageService = imageService;
	}
	
	
}
